package com.cn.crmsystem.service.approveService;
import com.cn.crmsystem.pojo.ResultJson;
import com.cn.crmsystem.pojo.Travel;

public interface TravelService {
	//查询领导名
	ResultJson selectLeader(Integer userid);
	//插入
	ResultJson TravelInsert (Travel travel,Integer leader);
	//查询出差列表
	ResultJson SelectMyTravel(Integer userid,Integer method);
	//删除
	ResultJson DeleteTravel(Integer appid);
	//更新
	ResultJson UpdateTravel(Integer appid,Integer state);
	//条件查询
	ResultJson SelectConditionTravel(Integer userid,String method,String state);
}
